from selenium.webdriver.common.by import By


class LoginPage():


    # 我的
    my_button = (By.ID,"com.lchr.diaoyu:id/btn_tab_mine")

    # 点击登录
    login_link_button = (By.ID,"com.lchr.diaoyu:id/tv_click2login")

    # 密码方式登录
    login_type_is_password_button = (By.XPATH,"//*[@text='密码登录']")

    # 输入手机号或邮箱
    mobile_input_text = (By.ID,"com.lchr.diaoyu:id/et_account")

    # 输入密码
    password_input_text = (By.ID,"com.lchr.diaoyu:id/et_pwd")

    # 协议复选框
    # login_check_box = (By.ID,"com.lchr.diaoyu:id/cb_agree_privacy")
    login_check_box = (49,550)

    # 登录按钮
    login_button = (By.ID,"com.lchr.diaoyu:id/btn_login")

    # 昵称
    nick_name_text = (By.ID,"com.lchr.diaoyu:id/user_nick_name")